package com.example.demo.service;

import com.example.demo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.util.Result;

import java.util.List;

/**
* @author Cp
* @description 针对表【user】的数据库操作Service
* @createDate 2024-09-15 10:32:56
*/
public interface UserService extends IService<User> {

    List<User> select();


    Result login(User user);

    Result register(User user);

    Object add(User user);

    Result exit(String token);
}
